package com.qiyeji.real_estate.mapper;

import com.qiyeji.real_estate.entity.TemporaryWorkKey;
import com.qiyeji.real_estate.entity.workKey;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TemporaryWorkMapper {
    int deleteByPrimaryKey(TemporaryWorkKey key);

    int delete(String pcode);

    int insert(TemporaryWorkKey record);

    int insertSelective(TemporaryWorkKey record);

    int update(TemporaryWorkKey record);

    int updateAll(TemporaryWorkKey record);

    TemporaryWorkKey select(String pcode);

    List<TemporaryWorkKey> fuzzyQuery(String pcode);

    List<String> getMembersByPCode(String pCode);
    TemporaryWorkKey selectForParentTaskID(String sCode, String pCode);
}